import Layout from '@/layout';

const BaseScreenManageRouter = [
  {
    path: '/Server',
    component: Layout,
    redirect: 'noRedirect',
    name: 'Server',
    meta: { title: '服务器', icon: 'system-settings' },
    children: [
      {
        path: 'server-operation-monitoring',
        name: 'ServerOperationMonitoring',
        component: () => import('@/views/server/server-operation-monitoring/index'),
        meta: { title: '服务器运行监控', icon: 'agricultural-type-management' }
        // children: [
        //   {
        //     path: "base-information-management",
        //     name: "baseInformationManagement",
        //     component: () =>
        //       import("@/views/production-operation-maintenance/basic-info-manage/base-information-management/index"),
        //     meta: { title: "基地信息管理", icon: "agricultural-type-management" },
        //   },
        //   {
        //     path: "base-information-management",
        //     name: "baseInformationManagement",
        //     component: () =>
        //       import("@/views/production-operation-maintenance/basic-info-manage/base-information-management/index"),
        //     meta: { title: "基地信息管理", icon: "agricultural-type-management" },
        //   }
        // ]
      }
      // {
      //   name: "Http://www.javaboy.org",
      //   path: "http://www.javaboy.org",
      //   // hidden: false,
      //   "component": Layout,
      //   meta: {
      //     title: "TienChin健身官网",
      //     icon: "guide",
      //     // noCache: false,
      //     link: "http://www.javaboy.org"
      //   }
      // }
    ]
  },
  {
    path: '/Message',
    component: Layout,
    redirect: 'noRedirect',
    name: 'Message',
    meta: { title: '官网', icon: 'system-settings' },
    children: [
      {
        path: 'message',
        name: 'Message',
        component: () => import('@/views/server/message/index'),
        meta: { title: '官网留言', icon: 'evaluation-temple-manage' }
      }
    ]
  },
  {
    path: '/monitor',
    component: Layout,
    redirect: 'noRedirect',
    name: 'Monitor',
    meta: { title: '监控系统', icon: 'system-settings' },
    children: [
      {
        path: 'monitor-project',
        name: 'MonitorProject',
        component: () => import('@/views/server/monitor/project'),
        meta: { title: '应用列表', icon: 'evaluation-temple-manage' }
      },
      {
        path: 'monitor-detail',
        name: 'MonitorDetail',
        component: () => import('@/views/server/monitor/detail'),
        meta: { title: '监控详情', icon: 'evaluation-temple-manage' }
      }
    ]
  },
  { path: '*', redirect: '/404', hidden: true }
];

export default BaseScreenManageRouter;
